<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<input type="hidden" id="id" value="<?php echo $arr['id']?>">
你浏览量为<p></p>
</body>
</html>
<script src="jquery-2.1.4.min.js"></script>
<script>
      $(function(){
          var id=$("#id").val();
          $.ajax({
              url:'num.php?id='+id,
              success:function(data)
              {
                  $('p').html(data);
              }
          })
      })
</script>